package com.shop.technicalservice.dao.order;

import java.util.List;

import com.shop.technicalservice.model.order.OrderDetail;

public interface OrderDetailDao {
	
	public OrderDetail save(OrderDetail transientInstance) throws Exception;
	
	public void delete(OrderDetail persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public OrderDetail merge(OrderDetail detachedInstance) throws Exception;
	
	public OrderDetail findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(OrderDetail instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(OrderDetail instance)  throws Exception;
	
	public void attachClean(OrderDetail instance)  throws Exception;
	
	public List findByNum(Object num)  throws Exception;
	
	
}
